package lab02.Test20;

/**
 * Created by lady on 2017/10/31.
 */
public class Test {
    public static void main(String[] args) {
        String result="nhsdb1635";
        char tmp;
        int i;
        for(i=0;i<=result.length();i++)

        {
            tmp = result.charAt(i);
            if  (tmp >= '0' && tmp <= '9'){
                System.out.print((char)(tmp ));
            }
        }
    }
}